<div class="navbar">
	<div class="navbar-inner">
		<div class="container-fluid">
			<a class="btn btn-navbar" data-toggle="collapse" data-target=".top-nav.nav-collapse,.sidebar-nav.nav-collapse">
				<span class="icon-bar"></span>
				<span class="icon-bar"></span>
				<span class="icon-bar"></span>
			</a> 
			<a class="brand" href="index.html">
				<img alt="Charisma Logo" src="<?php echo $img_url; ?>tpl_ori/logo20.png" /> 
				<span>Charisma</span>
			</a>

			<!--
			<div class="btn-group pull-right theme-container">
				<a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
					<i class="icon-tint"></i><span class="hidden-phone"> Change Theme / Skin</span> <span class="caret"></span>
				</a>
				<ul class="dropdown-menu" id="themes">
					<li><a data-value="classic" href="#"><i class="icon-blank"></i> Classic</a></li>
					<li><a data-value="cerulean" href="#"><i class="icon-blank"></i> Cerulean</a></li>
					<li><a data-value="cyborg" href="#"><i class="icon-blank"></i> Cyborg</a></li>
					<li><a data-value="redy" href="#"><i class="icon-blank"></i> Redy</a></li>
					<li><a data-value="journal" href="#"><i class="icon-blank"></i> Journal</a></li>
					<li><a data-value="simplex" href="#"><i class="icon-blank"></i> Simplex</a></li>
					<li><a data-value="slate" href="#"><i class="icon-blank"></i> Slate</a></li>
					<li><a data-value="spacelab" href="#"><i class="icon-blank"></i> Spacelab</a></li>
					<li><a data-value="united" href="#"><i class="icon-blank"></i> United</a></li>
				</ul>
			</div>
			-->
			
			<div class="btn-group pull-right">
				<a class="btn dropdown-toggle" data-toggle="dropdown" href="#"> <i
					class="icon-user"></i><span class="hidden-phone"> admin</span> <span
					class="caret"></span>
				</a>
				<ul class="dropdown-menu">
					<li><a href="#">Profile</a></li>
					<li class="divider"></li>
					<li><a href="login.html">Logout</a></li>
				</ul>
			</div>

			<div class="top-nav nav-collapse" id="top-nav">
				<ul class="nav">
					<li class="default"><a href="/">Home</a></li>
					<li class="htmltemplate"><a href="<?php echo url('htmltemplate/index'); ?>">模板</a></li>
					<li class="jqueryplugin"><a href="<?php echo url('jqueryplugin/index'); ?>">Jquery插件</a></li>
					<li class="picmaterial"><a href="<?php echo url('picmaterial/index'); ?>">图片素材</a></li>
					<li class="font"><a href="<?php echo url('font/index'); ?>">字体</a></li>
				</ul>
				<ul class="nav pull-right">
					<li>
						<form class="navbar-search pull-left">
							<input placeholder="Search" class="search-query span2" name="query" type="text" />
						</form>
					</li>
				</ul>
				<script>
					$('#top-nav li.<?php echo $controller; ?>').addClass('active');
				</script>
			</div>
		</div>
	</div>
</div>